<script>

    $(document).ready(function () {

        //hide a div after 3 seconds
        setTimeout(function(){ $(".information-box, .error-box").fadeOut(); }, 3000);

    });

    function checkAll(){

    	var field=document.formStaff.deletefiles;

        for (i = 0; i < field.length; i++)

    	field[i].checked = true ;

    }

    

    



</script>